[XEN] Fix x86/64 bug where a guest application can crash the
authorkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 17 Aug 2006 11:08:26 +0000 (12:08 +0100)
committerkfraser@localhost.localdomain <kfraser@localhost.localdomain>
Thu, 17 Aug 2006 11:08:26 +0000 (12:08 +0100)
commiteb97b7dc2b268b799596764eb7ed8c41708223e1
treeb04b2ccd234ea56173e817966a0bb930aa2b0171
parent2da5c5c78bd7d4900c86822048182e2b1bf751ff
[XEN] Fix x86/64 bug where a guest application can crash the
guest OS by setting AC flag in RFLAGS. This wasn't being
cleared on entry to the guest kernel, causing unwanted faults
because the kernel runs in ring 3 on Xen.
Signed-off-by: Keir Fraser <keir@xensource.com>
xen/arch/x86/domain.c
xen/arch/x86/x86_32/entry.S
xen/arch/x86/x86_64/entry.S